package com.sena.engine.snmp.entity;

import com.sena.engine.snmp.base.SnmpMappingInfo;
import com.sena.engine.snmp.utils.SnmpUtils;

public class MibAtEntry extends SnmpMappingInfo {
    private int atIfIndex;
    private String atPhysAddress = "";
    private String atNetAddress = "";

    public MibAtEntry() {
    }

    @Override
    public String toString() {
        return "atIfIndex=" + this.atIfIndex + "|" + "atPhysAddress=" + this.atPhysAddress + "|" + "atNetAddress=" + this.atNetAddress + "|";
    }

    @Override
    public String getMappingOID() {
        return "1.3.6.1.2.1.3.1.1";
    }

    public int getAtIfIndex() {
        return this.atIfIndex;
    }

    public void setAtIfIndex(int var1) {
        this.atIfIndex = var1;
    }

    public String getAtPhysAddress() {
        return SnmpUtils.formatDisplayMacAddress(this.atPhysAddress);
    }

    public void setAtPhysAddress(String var1) {
        this.atPhysAddress = var1;
    }

    public String getAtNetAddress() {
        return SnmpUtils.formatDisplayIP(this.atNetAddress);
    }

    public void setAtNetAddress(String var1) {
        this.atNetAddress = var1;
    }
}
